﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JXC.Core.Models
{
    /// <summary>
    /// 收款单明细
    /// </summary>
    public class DetailsOfTheReceipt
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }//收款明细单号

        [ForeignKey("ReceiptId")]
        public Guid TheOriginalNumber { get; set; }//原始单号

        public decimal ThisCollection { get; set; }//本次收款

        public Receipt Receipt { get; set; }


    }
}
